{%- if pagename != "search" %}
<div id="searchbox" style="display: none">
    <form class="form search" action="{{ pathto('search') }}" method="get">
      <input type="text" name="q" class="form-control" placeholder="Search..." />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>

<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}